package com.bilibili.sys.dao;

import com.bilibili.sys.bean.SysUser;
import com.bilibili.sys.utils.PageUtils;

import java.util.List;

/**
 * Dao层的接口对象
 * @param
 * @return
 * @author alpha
 * @since 2024/03/24 22:26
 */
public interface IUserDao {
    /**
     * 查询所有的用户信息
 * @param user
     * @return java.util.List<com.bilibili.sys.bean.SysUser>
     * @author alpha
     * @since 2024/03/24 22:28
     */
    public List<SysUser> list(SysUser entity);
    public List<SysUser> listPage(PageUtils pageUtils);
    public int save(SysUser entity);
    public  SysUser findById(int id);
    public int updateById(SysUser entity);

    int deleteById(int id);

    int count(PageUtils pageUtils);
}
